package com.i2works.smartluolong.web.entity.personal;

import com.i2works.smartluolong.utils.entity.BaseCommQuery;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 一体机刷卡用户事项记录表
 *
 * @author Liu Yutao <koal@vip.qq.com>
 * @date 2018/7/4 17:09
 */

public class PersonalRecordQuery extends BaseCommQuery {
    private Integer id; //
    private String idCardNo; // 身份证号码
    private String itemInfo; // 事项信息
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date itemTime; // 事项时间（创建/颁发）
    private Integer itemStatus; // 事项状态（1领取，2补办，3其他）
    private Integer itemSingle; // 事项仅限1次领取（1是，0不是）
    private String itemType; // 事项类型
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date nextDate; // 下次领取开始时间(single多次领取才有效）
    private String leader; // 颁发机关
    private Integer status; // 状态(1启用，0禁用）；默认值：1

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getItemType() {
        return itemType;
    }

    public void setItemType(String itemType) {
        this.itemType = itemType;
    }

    public String getIdCardNo() {
        return idCardNo;
    }

    public void setIdCardNo(String idCardNo) {
        this.idCardNo = idCardNo;
    }

    public String getItemInfo() {
        return itemInfo;
    }

    public void setItemInfo(String itemInfo) {
        this.itemInfo = itemInfo;
    }

    public Date getItemTime() {
        return itemTime;
    }

    public void setItemTime(Date itemTime) {
        this.itemTime = itemTime;
    }

    public Integer getItemStatus() {
        return itemStatus;
    }

    public void setItemStatus(Integer itemStatus) {
        this.itemStatus = itemStatus;
    }

    public Integer getItemSingle() {
        return itemSingle;
    }

    public void setItemSingle(Integer itemSingle) {
        this.itemSingle = itemSingle;
    }

    public Date getNextDate() {
        return nextDate;
    }

    public void setNextDate(Date nextDate) {
        this.nextDate = nextDate;
    }

    public String getLeader() {
        return leader;
    }

    public void setLeader(String leader) {
        this.leader = leader;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
